﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace STLGROUP.Layers.Common
{
    public class Const
    {
        #region BINDING CONST

        public const string BIND_TEXT = "Text";
        public const string BIND_SELECTED_VALUE = "SelectedValue";
        public const string BIND_CHECKED = "Checked";
        public const string BIND_VALUE = "Value";
        public const string BIND_IMAGE="Image";

        #endregion

        #region MESSENGER CONST

        public const string MSG_IS_NOT_NULL = "MSG001";
        public const string MSG_DATA_NOT_FOUND = "MSG002";
        public const string MSG_USER_KHONG_HOP_LE = "MSG003";
        public const string MSG_PASSWORD_KHONG_DUNG = "MSG004";
        public const string MSG_LOGIN_FAILE_CHECK_USER = "MSG005";
        public const string MSG_LOI_PHAN_QUYEN = "MSG006";
        public const string MSG_KHONG_TIM_THAY_SINH_VIEN="MSG007";
        public const string MSG_KHONG_XOA_VI_SLUONG_LON_HON_KHONG="MSG008";
        public const string MSG_SAN_PHAM_DANG_CHON_DA_HET_HANG = "MSG009";
        public const string MSG_SO_TIEN_TRA_PHAI_TU_BAY_MUOI_PHAN_TRAM_GIA_TRI_HOA_DON="MSG010";
        public const string MSG_CHUA_CHON_SAN_PHAM="MSG011";        
        public const string MSG_CHUA_CHON_NHACUNGCAP = "MSG012";
        public const string MSG_SOTIEN_TAM_UNG_NOT_NULL = "MSG013";
        public const string MSG_TONGTIEN_PHAILONHON_KHONG = "MSG014";
        public const string MSG_SOTIEN_TAMUNG_PHAI_NHOHON_HOAC_BANG_TONGTIEN = "MSG015";
        public static string MSG_NGAYTHANH_TOAN_PHAI_SAUNGAYHOMNAY="MSG016";
        public const string MSG_UPDATE_SUCESSFULL = "MSG017";
        public const string MSG_UPDATE_NOT_SUCESSFULL = "MSG018";
        public const string MSG_KHACH_HANG_KHONG_DUOC_BO_TRONG = "MSG019";
        public const string MSG_VUI_LONG_CHON_SO_LUONG_SAN_PHAM = "MSG020";
        public const string MSG_CHUA_THANH_TOAN_HOA_DON = "MSG021";
        public const string MSG_SO_TIEN_NHAP_CON_THIEU = "MSG022";
        public const string MSG_SO_TIEN_NHAP_KHONG_HOP_LE = "MSG023";
        public const string MSG_SO_LUONG_SAN_PHAM_CHON_PHAI_NHO_HON_HOAC_BANG_SO_LUONG_TOI_DA = "MSG024";

        #endregion

        #region CONST

        public const long MAX_IMAGE = 100000;
        public const string DON_VI_TINH = "Chiếc";
        public const int DON_DAT_HANG_DANG_XU_LY = 2;
        public const bool DA_HUY_KHACH_HANG = true;
        public const int DA_HUY_SAN_PHAM = 5;
        public const string DINH_DANG_HIEN_THI_TIEN = "N0";
        public const int INDEX_COLUMN_CHON_KHACH_HANG = 11;
        public const int INDEX_COLUMN_CHON_GIAM_SO_LUONG_SAN_PHAM = 9;
        public const float SO_TIEN_TOI_THIEU_THANH_TOAN_TRUOC = 0.7f;
        public const int INDEX_COLUMN_CHON_SAN_PHAM = 13;

        #endregion

        #region Validator Mesgengers

        public const string VALD_PROPERTY_KHONG_BO_TRONG = "không được bỏ trống";
        public const string VALD_KHONG_HOP_LE ="không hợp lệ";
        public const string VALD_PHAI_LA_CHU_SO="phải là chữ số [0-9]";
        public const string VALD_DA_TON_TAI="đã tồn tại";
        public const string VALD_CHIEU_DAI_CHUOI = "{0} ký tự";
        public const string VALD_PROPERTY_PHAI_LON_HON_KHONG = "phải lớn hơn 0";
        
        #endregion


        
    }
}
